package com.psl.action.delete;

import com.psl.services.frame.accessrole;
import org.apache.struts2.ServletActionContext;

import javax.servlet.http.HttpServletRequest;

public class delrole
{
  public String execute()
  {
    HttpServletRequest request = ServletActionContext.getRequest();
    int position_id = Integer.parseInt(request.getParameter("position_id"));
    accessrole as = new accessrole();
    as.delrole(position_id);
    return "success";
  }
}
